package com.ming.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Author:何元才
 * @Desc:
 * @data:2021-04-08 20:09
 */
@ApiModel("购物车中商品的金额对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CartMoney {

    @ApiModelProperty(value = "最终金额")
    private BigDecimal finalMoney = BigDecimal.ZERO;
    @ApiModelProperty(value = "实际金额")
    private BigDecimal totalMoney = BigDecimal.ZERO;
    @ApiModelProperty(value = "满减金额")
    private BigDecimal subtractMoney = BigDecimal.ZERO;


}
